/*下面是分页样式的开始*/
.page-num {
    /*宽度随内容增加自动变宽*/
    display: table;
    background-color: pink;
    margin: 0px auto;
    margin-top: 20px;
}

.page-num a {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    display: inline-block;
    background-color: aqua;
    margin-left: 10px;
    text-decoration: none;
}

.page-num a:first-of-type {
    margin-left: 0px;
}

.page-num a:hover {
    background-color: yellow;
}
/*上面是分页样式的结束*/